<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>

<form  action="delete" th:object="${UserBean}" method="post">
    <td><input name="userId" type="hidden" th:value="${userBean.userId}"/></td>
    <td>
      <button type="submit" name="sureDel">确认删除</button>
      <button type="submit" name="noDel">不删除</button></td>
</form>
</body>
</html>